package com.en.sharing.enums;

public class OperateTest {

    public static void main(String[] args) {
        int a = 1 , b = 2;
        final Number operate = OperateEnum.PLUS.operate(a, b);
        System.out.println(operate);
        final Number operate1 = OperateEnum2.DEVICE.operate(b, a);
        System.out.println(operate1);
    }
}
